using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Net.Security;

namespace Coriander.Xmpp.Security
{
    /// <summary>
    /// 
    /// </summary>
    public interface ITlsProvider
    {
        /// <summary>
        /// Get an SslStream based on <paramref name="stream">stream</paramref>, 
        /// authenticated against
        /// </summary>
        /// <param name="stream"></param>
        /// <returns></returns>
        SslStream GetStream(Stream stream, Uri uri);
    }
}
